home *** CD-ROM | disk | FTP | other *** search
/ PC-SIG: World of Education / PC-SiG's World of Education.iso / run / 3652 / install.bat < prev    next >
DOS Batch File  |  1992-09-30  |  3KB  |  95 lines

  1. @echo off
  2. cls
  3. Echo * Test PowWare installation ...
  4. if "%1"=="" goto Error
  5. echo *
  6. echo * Install will copy Test PowWare files to %1
  7. echo * if this is not what you wish, press Ctrl-Break now, otherwise
  8. pause
  9. cls
  10. if not exist %1\NUL mkdir %1
  11. if not exist %1\NUL goto Error
  12. echo * Copying files
  13. echo *
  14.  
  15. echo * Copying Test PowWare executable file
  16. copy tp.exe %1 /v >nul
  17. copy tp.abt %1 /v >nul
  18. copy install.bat %1 /v >nul
  19.  
  20. echo * Copying Test PowWare readme file
  21. copy readme.exe %1 /v >nul
  22. copy manual.edt %1 /v >nul
  23. copy order.edt %1 /v >nul
  24. copy userinpt.edt %1 /v >nul
  25. copy note.edt %1 /v >nul
  26. copy chars.edt %1 /v >nul
  27. if exist add&corr.edt copy add&corr.edt %1 /v >nul
  28.  
  29. echo * Copying sample test and editor files
  30. copy thistest.bnk %1 /v >nul
  31. copy thistest.edt %1 /v >nul
  32. copy thistest.ans %1 /v >nul
  33.  
  34. echo * Copying student answer forms
  35. copy abh010D1.abk %1 /v >nul
  36. copy abh025D1.abk %1 /v >nul
  37. copy abh050D1.abk %1 /v >nul
  38. copy abh050S1.abk %1 /v >nul
  39. copy abh100D1.abk %1 /v >nul
  40. copy abh100S1.abk %1 /v >nul
  41. copy abh100S2.abk %1 /v >nul
  42. copy abv010D1.abk %1 /v >nul
  43. copy abv010S1.abk %1 /v >nul
  44. copy abv020D1.abk %1 /v >nul
  45. copy abv025D1.abk %1 /v >nul
  46. copy abv100D1.abk %1 /v >nul
  47. copy a_h010D4.abk %1 /v >nul
  48. copy a_v010D1.abk %1 /v >nul
  49. copy a_v010S1.abk %1 /v >nul
  50. copy alternat.abk %1 /v >nul
  51.  
  52. if not exist %1\TP.exe goto NoInstall
  53.  
  54. goto NoError
  55. :NoInstall
  56. echo * Installation has failed.  Some files were not installed.  
  57. echo * Possible reasons: Disk full, Unformatted Disk, Bad sectors on disk
  58. echo * Consult your DOS reference manual for futher information.
  59. echo * Try installing Test PowWare on a different disk.
  60. goto Failed
  61. :Error
  62. echo *
  63. echo *
  64. echo * Put the Test PowWare disk in drive "A" or "B".
  65. echo * Type "A:" or "B:" depending upon which drive you insterted
  66. echo * the Test PowWare disk.  (Omit the quotes)
  67. echo * Type Install followed by a valid drive and pathname, eg: 
  68. echo * INSTALL C:\TestPowr
  69. echo * Note: If the directory does not exist it will be created.
  70. echo *
  71. echo * Or, you can just use a drive if you want to make a
  72. echo * back up floppy, eg: INSTALL B:
  73. echo * this will make a copy of Test PowWare on drive "B"
  74. :Failed
  75. echo * 
  76. echo * Unable to install Test PowWare
  77. echo * 
  78. goto Done
  79. :NoError
  80. cls
  81. echo *
  82. echo *  Test PowWare has been successfully copied.
  83. echo *
  84. echo *  To run Test PowWare,
  85. echo *  Change your drive and directory to " %1 "
  86. echo *  First change to the proper drive by typing its letter followed by a
  87. echo *  colon (:).  Then type cd\ followed by the directory name (if any).
  88. echo *  Then type TP and press enter.
  89. echo *
  90. echo *  Test PowWare should then load.
  91. echo *  If Test PowWare detects that you have insufficient memory to run the
  92. echo *  program, it will not run.  Move to a computer with 512K of RAM and
  93. echo *  repeat the installation process.
  94. :Done
  95.